package com.pxmeta.user.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author wcl
 * @since 2022-07-13
 */
@TableName("kt_sign_config")
@ApiModel(value = "签到奖励", description = "")
@Data
public class SignConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("奖励内容")
    private String reward;

    @ApiModelProperty("奖励数量")
    private Integer count;

    @ApiModelProperty("签到天数")
    private Integer dayCount;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否已签")
    @TableField(exist = false)
    private Boolean isSign = false;

}
